<?php
	$kodemk=$_POST["kodemk"];
	$txtsemester=$_POST["txtsemester"];
	$txtperiode=$_POST["periode"];
	$txtsesi=$_POST["sesi"];
	$txtdosen=$_POST["txtdosen"];
	$txtketerangan=$_POST["txtketerangan"];
	$sel_hari=$_POST["sel_hari"];
	$txtmulaipukul=$_POST["txtmulaipukul"];
	$txtselesaipukul=$_POST["txtselesaipukul"];
	$txtkodejur=$_POST["kodejur"];
	$txtpagu=$_POST["txtpagu"];
	$recno=$_POST["recno"];
   
	include("../connect.php");
	$pilih=mysql_select_db("uwika_krs",$conn);
	$sqlstr="update penawaran set hari='$sel_hari',mulaipukul='$txtmulaipukul',selesaipukul='$txtselesaipukul',pagu='$txtpagu',dosen='$txtdosen',keterangan='$txtketerangan' where recno='$recno' and kodemk='$kodemk' and sesi='$txtsesi' and periode='$txtperiode' and semester = '$txtsemester' and jurusan='$txtkodejur'";
	$hasil=mysql_query($sqlstr);
	mysql_close($conn);
	echo "<meta http-equiv=\"refresh\" content=\"0; url=pnwrnmk.php\">";
	echo "Klik <a href=\"pnwrnmk.php\">disini</a> apabila browser anda berhenti berjalan ...";
?>